package com.cch.cooperation.dao.bookkeeping.model;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 收支类别
 *
 * @author cch on 2025-08-23
 */
@ApiModel("收支类别")
@Data
public class BookkeepingCategory implements Serializable {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("icon 地址")
    private String icon;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("流水类型（0=支出,1=收入）")
    private Integer billType;

    @ApiModelProperty("分类类型(0=系统默认)")
    private Integer type;

    @ApiModelProperty("创建人id")
    private String createUserId;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("")
    private String updateUserId;

    @ApiModelProperty("")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public static final String ID = "id";
    public static final String ICON = "icon";
    public static final String NAME = "name";
    public static final String BILL_TYPE = "bill_type";
    public static final String TYPE = "type";
    public static final String CREATE_USER_ID = "create_user_id";
    public static final String CREATE_TIME = "create_time";
    public static final String UPDATE_USER_ID = "update_user_id";
    public static final String UPDATE_TIME = "update_time";

}